package org.codetranslators.compiler.tiger.abssyntree;

public class FieldExpList extends Absyn {
   private Symbol name;
   private Exp init;
   private FieldExpList tail;
   
   public FieldExpList(int p, Symbol n, Exp i, FieldExpList t) 
   {
	   pos = p;
	   name = n;
	   init = i;
	   tail = t;
   }
   
   public Symbol getFieldNameSymbol()
   {
	   return name;
   }
   
   public Exp getInitExp()
   {
	   return init;
   }
   
   public FieldExpList getNext()
   {
	   return tail;
   }
   
}
